============================================================================================================================
.contour file

(1). No space, no comments are allowed
(2). Format is as follows
	First line:  number of the contour planes.
	Then describe one plane of contour after another.
	  For each plane,
		First line: a b c d		-- define the plane,  ax + by + cz = d
		Second line: n1 n2		-- number of the vertice, and number of edges
		Vertices			
			x0 y0 z0		-- one line for one vertex, specify the position of the vertex
			.
			.
			.
			x(n1-1) y(n1-1) z(n1-1)
		Edges			
			vi1_1 vi2_1 mi1_1 mi2_1 -- one line for one edge, directional edge, poiting from vi1'th vertex
							to vi2'th vertex, on the left side, is the mi1'th material, and 
							on the right is the mi2'th material.
			.
			.
			.
			vi1_(n2-1) vi2_(n2-1) mi1_(n2-1)
(3). All indices start from 0.

(4). One example

Two contour planes, on each of them is a triangle

2				-- 2 planes
0 0 1 2				-- plane z = 2
3 3				-- 3 vertice and 3 edges
1 1 2				-- first vertex
3 5 2				-- second vertex
2 6 2				-- third vertex
0 1 1 2				-- first edge, pointing from vertices 0 to 1, on the left material is 1 and on right is 2
1 2 1 2				-- second edge
2 0 1 2				-- third edge
0 0 1 3				-- plane z = 3
3 3				-- 3 vertice and 3 edges
1 1 3				-- first vertex
3 5 3				-- second vertex
2 6 3				-- third vertex
0 1 1 2				-- first edge, pointing from vertices 0 to 1, on the left material is 1 and on right is 2
1 2 1 2				-- second edge
2 0 1 2				-- third edge

Expected result:
For this two triangles, the result will simply be a prism.

----------------------------------------------------------------------------------------------------------------------------
.suf file
(1) 1 and 3 for .contour apply for .suf files as well
(2) File format
	vertex_number face_number //separated by space
	each vertex	//position of vertex, three numbers one line
	faces		//v1 v2 v3 m1 m2	one face one line, three vertices, clockwise material, CCW material

============================================================================================================================